#pragma once
#include <memory>
#include "ConnectionPool.hpp"

class MySQLPoolFactory
{
public:
    static ConnPool* create(int pool_thread_cnt,const std::string &ip,
                            unsigned short port,const std::string &user,
                            const std::string &password,const std::string &db)
    {
        return ConnPool::GetConnInstance(ip,port,user,password,db,pool_thread_cnt);
    }
};